package com.example.Less.service;

import com.example.Less.entity.PageResponse;
import com.example.Less.entity.Photo;
import com.example.Less.entity.PhotoSearchQuery;

import java.util.HashMap;
import java.util.List;
import java.util.Objects;

public interface PhotoService {
    Photo savePhoto(Photo photo);
    Photo getPhotoById(Integer id);
    List<Photo> getAllPhotos();
    Photo updatePhoto(Photo photo);
    void deletePhoto(Integer id);
   // List<HashMap<String, String>> searchPhotos(String photoName, String photoPath, String type, Integer projectId, Integer isDeleted);
    PageResponse<Photo> searchPhotos(PhotoSearchQuery query);

}